<form id="buku" name="buku" method="post" action="">
<table width="434" border="0">

 
  <tr>
    <td>Kode Buku</td>
    <td>:</td>
    <td><?php echo form_error('kode'); ?> <input type="text" name="kode" id="kode" value="<?php echo $row->kode_buku; ?>" ></td>
  </tr>
    <tr>
    <td>Judul Buku</td>
    <td>:</td>
    <td><?php echo form_error('judul'); ?> <input type="text" name="judul" id="judul" value="<?php echo $row->judul;?>" ></td>
  </tr>
    <tr>
    <td>Nama Pengarang</td>
    <td>:</td>
    <td><?php echo form_error('pengarang'); ?> <input type="text" name="pengarang" id="pengarang" value="<?php echo $row->pengarang;?>" ></td>
  </tr>
    <tr>
    <td>Kategori</td>
    <td>:</td>
    <td> <?php echo kategoriDropdown($row->id_kategori)?></td>
  </tr>
    <tr>
    <td>Penerbit</td>
    <td>:</td>
    <td><?php echo penerbitDropdown($row->id_penerbit) ?></td>
  </tr>
    <tr>
    <td>No Buku</td>
    <td>:</td>
    <td><?php echo form_error('nomer'); ?> <input type="text" name="nomer" id="nomer" value="<?php echo $row->no_buku;?>" ></td>
  </tr>
    <tr>
    <td>Kode Rak</td>
    <td>:</td>
    <td><?php echo form_error('no_rak'); ?> <input type="text" name="no_rak" id="no_rak" value="<?php echo $row->kode_rak;?>" ></td>
  </tr>

  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td><input type="submit" name="simpan" id="simpan" value="simpan"></td>
  </tr>
</table>
</form>
